package com.tinycloud.miracll.product.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 排产主表对象 生产计划排产表_主表
 * 
 * @author tiny
 * @date 2022-05-28
 */
public class ProductScheduleMain extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 年 */
    @Excel(name = "年")
    private Long year;

    /** 月 */
    @Excel(name = "月")
    private Long month;

    /** 编号 */
    @Excel(name = "编号")
    private String num;

    /** 编制人 */
    @Excel(name = "编制人")
    private String creator;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private String excelserverrcid;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private String excelserverrc1;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private String excelserverwiid;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private String excelserverrtid;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private Long excelserverrn;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private Long excelservercn;

    /** $column.columnComment */
    @Excel(name = "编制人")
    private Long excelserverchg;

    /** 排产条数 */
    @Excel(name = "排产条数")
    private Long scheduleRow;

    /** 上次排产编号 */
    @Excel(name = "上次排产编号")
    private String lastNum;

    /** 排产说明 */
    @Excel(name = "排产说明")
    private String desc;

    /** 已提交 */
    @Excel(name = "已提交")
    private String commitFlag;

    /** 总排产量 */
    @Excel(name = "总排产量")
    private BigDecimal scheduleAmount;

    /** 上次排产量 */
    @Excel(name = "上次排产量")
    private BigDecimal lastScheduleAmount;

    /** 排产量差 */
    @Excel(name = "排产量差")
    private BigDecimal scheduleDiffAmount;

    public void setYear(Long year){
        this.year = year;
    }

    public Long getYear(){
        return year;
    }
    public void setMonth(Long month){
        this.month = month;
    }

    public Long getMonth(){
        return month;
    }
    public void setNum(String num){
        this.num = num;
    }

    public String getNum(){
        return num;
    }
    public void setCreator(String creator){
        this.creator = creator;
    }

    public String getCreator(){
        return creator;
    }
    public void setExcelserverrcid(String excelserverrcid){
        this.excelserverrcid = excelserverrcid;
    }

    public String getExcelserverrcid(){
        return excelserverrcid;
    }
    public void setExcelserverrc1(String excelserverrc1){
        this.excelserverrc1 = excelserverrc1;
    }

    public String getExcelserverrc1(){
        return excelserverrc1;
    }
    public void setExcelserverwiid(String excelserverwiid){
        this.excelserverwiid = excelserverwiid;
    }

    public String getExcelserverwiid(){
        return excelserverwiid;
    }
    public void setExcelserverrtid(String excelserverrtid){
        this.excelserverrtid = excelserverrtid;
    }

    public String getExcelserverrtid(){
        return excelserverrtid;
    }
    public void setExcelserverrn(Long excelserverrn){
        this.excelserverrn = excelserverrn;
    }

    public Long getExcelserverrn(){
        return excelserverrn;
    }
    public void setExcelservercn(Long excelservercn){
        this.excelservercn = excelservercn;
    }

    public Long getExcelservercn(){
        return excelservercn;
    }
    public void setExcelserverchg(Long excelserverchg){
        this.excelserverchg = excelserverchg;
    }

    public Long getExcelserverchg(){
        return excelserverchg;
    }
    public void setScheduleRow(Long scheduleRow){
        this.scheduleRow = scheduleRow;
    }

    public Long getScheduleRow(){
        return scheduleRow;
    }
    public void setLastNum(String lastNum){
        this.lastNum = lastNum;
    }

    public String getLastNum(){
        return lastNum;
    }
    public void setDesc(String desc){
        this.desc = desc;
    }

    public String getDesc(){
        return desc;
    }
    public void setCommitFlag(String commitFlag){
        this.commitFlag = commitFlag;
    }

    public String getCommitFlag(){
        return commitFlag;
    }
    public void setScheduleAmount(BigDecimal scheduleAmount){
        this.scheduleAmount = scheduleAmount;
    }

    public BigDecimal getScheduleAmount(){
        return scheduleAmount;
    }
    public void setLastScheduleAmount(BigDecimal lastScheduleAmount){
        this.lastScheduleAmount = lastScheduleAmount;
    }

    public BigDecimal getLastScheduleAmount(){
        return lastScheduleAmount;
    }
    public void setScheduleDiffAmount(BigDecimal scheduleDiffAmount){
        this.scheduleDiffAmount = scheduleDiffAmount;
    }

    public BigDecimal getScheduleDiffAmount(){
        return scheduleDiffAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("year", getYear())
            .append("month", getMonth())
            .append("num", getNum())
            .append("creator", getCreator())
            .append("excelserverrcid", getExcelserverrcid())
            .append("excelserverrc1", getExcelserverrc1())
            .append("excelserverwiid", getExcelserverwiid())
            .append("excelserverrtid", getExcelserverrtid())
            .append("excelserverrn", getExcelserverrn())
            .append("excelservercn", getExcelservercn())
            .append("excelserverchg", getExcelserverchg())
            .append("scheduleRow", getScheduleRow())
            .append("createTime", getCreateTime())
            .append("lastNum", getLastNum())
            .append("desc", getDesc())
            .append("commitFlag", getCommitFlag())
            .append("scheduleAmount", getScheduleAmount())
            .append("lastScheduleAmount", getLastScheduleAmount())
            .append("scheduleDiffAmount", getScheduleDiffAmount())
            .toString();
    }
}
